package scsc.web.oa.dispatchstyle.data;

import scsc.pub.data.DispatchStyle;
import scsc.pub.tools.StringUtil;

public class DispatchStyleData extends DispatchStyle {
	public DispatchStyleData() {
		init();
	}
	private String depyName;
	public DispatchStyleData(String id, String style, String deptCode,
			String remark) {
		this.setId(StringUtil.trim(id));
		this.setStyle(StringUtil.trim(style));
		this.setDeptCode(StringUtil.trim(deptCode));
		this.setRemark(StringUtil.trim(remark));
	}
	public DispatchStyleData(String id, String style, String deptCode,String deptName,
			String remark){
		this.setId(StringUtil.trim(id));
		this.setStyle(StringUtil.trim(style));
		this.setDeptCode(StringUtil.trim(deptCode));
		this.setDepyName( deptName);
		this.setRemark(StringUtil.trim(remark));
	}
	public void reset() {
		init();
	}

	public void init() {
		this.setId(null);
		this.setStyle("");
		this.setDeptCode("");
		this.setDepyName( "");
		this.setRemark("");
	}
	public String getDepyName() {
		return depyName;
	}
	public void setDepyName(String depyName) {
		this.depyName = depyName;
	}
}
